<template>
    <div class="all">
      <div :style="{marginBottom: bottomModularHeight + 'px'}">
        <div>
          <mt-cell title="选中的项">{{ userInfo }}</mt-cell>
        </div>
        <mt-checklist class="page-part" v-model="userInfo" :options=user></mt-checklist>
      </div>
      <router-link tag="div" class="bottomModular" ref="bottomModular" :to="{ path: 'editMakeMetting', query: { time: this.$route.query.time }}">
        确认
      </router-link>
    </div>
</template>
<style lang="less" scoped>
  .mint-checkbox-input:checked + .mint-checkbox-core {
    background-color: #26a2ff;
    border-color: #26a2ff;
  }
  .bottomModular{
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 1rem;
    width: 100%;
    background: #6DB1FF;
    text-align: center;
    color: #fff;
    padding: 0.8rem 0;
  }
</style>
<script>
  export default{
    data(){
      return {
        bottomModularHeight: '',
        userInfo: [],
        user: [
          {
            label: '被禁用',
            value: '值F'
          },
          {
            label: '选中禁用',
            value: '选中禁用的值'
          },
          {
            label: '选项A',
            value: '值A'
          },
          {
            label: '选项B',
            value: '值B'
          }
        ]
      }
    },
    created () {

    },
    mounted () {
      this.bottomModularHeight = this.$refs.bottomModular.clientHeight + 8
    },
    methods: {},
    components: {
      //'other-component':OtherComponent,
      //HeaderComponent,
    }
  }
</script>
